<?php
    /**
     * 
     * Brand model
     * @author Vu Tran
     *
     */
    class BrandModel extends Model
    {
        /**
         * Constructor
         */
        function __construct()
        {
            parent::__construct();
        }
         
        /**
         * 
         * Gets all record from table Product
         */
        
        function getAllBrandBySearch($keyWord){
            $sql = "select s.* from store as s where (s.name like '%" . $keyWord ."%')";
            return $this->execute_query($sql);
        }
        
    }
?>